/*
 * 可复用的公有布局
 */

/*
 * 可复用的公有布局
 */

 .form-item {
  height: 50px;
  margin-bottom: 20px;
  .bgIpt {
    width: 350px;
  }
  .smIpt {
    width: 213px;
  }
  .commonIpt {
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    padding-left: 25px;
    border-radius: 25px;
    color: #fff;
    &::placeholder {
      color: white;
      opacity: 0.7;
    }
  }

  .submit {
    width: 350px;
    height: 50px;
    border-radius: 25px;
    color: white;
    background: rgba(99, 255, 167, 0.5);
  }

  .code {
    width: 123px;
    height: 50px;
  }
}

/**
*轻提示
*/
.toastBox{
  width: 120px;
  height: 120px;
  background-color: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 120px;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}


/*
*底部导航
*/
.nav{
  height: 76px;
  display: flex;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  text-align: center;
  a{
    flex: 1;
    display: flex;
    color: rgba(138, 138, 138, 1);
    font-size: 14px;
    flex-direction: column;
    justify-content: center;
    &.active{
        color: #4294ff;
    }
    span{
        font-size: 40px;
    }
  }
}

/*
*顶部导航
*/
.topnav{
  height: 50px;
  display: flex;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.topnav a{
  flex: 1;
  color: rgba(138, 138, 138, 1);
  font-size: 14px;
  font-size: 16px;
  line-height: 50px;
}
.topnav .on{
  position: relative;
  color: rgba(66, 148, 255, 1);
  font-weight: bold;
}
.topnav .on::before{
  content: '';
  position: absolute;
  width: 50px;
  height: 4px;
  background-color: #4294ff;
  opacity: .5;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.sports{
  display: flex;
  flex-direction: column;
  main{
    flex: 1;
  }
}
